package com.ruoyi.club.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社团信息对象 club_info
 * 
 * @author Zou
 * @date 2025-11-14
 */
public class ClubInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 社团ID */
    private Long id;

    /** 社团名称 */
    @Excel(name = "社团名称")
    private String name;

    /** 社团介绍 */
    @Excel(name = "社团介绍")
    private String introduction;

    /** 社团标签（逗号分隔） */
    @Excel(name = "社团标签", readConverterExp = "逗=号分隔")
    private String tags;

    /** 活跃度（0-100） */
    @Excel(name = "活跃度", readConverterExp = "0=-100")
    private BigDecimal activityScore;

    /** 审核状态：0待审核，1通过，2拒绝 */
    @Excel(name = "审核状态：0待审核，1通过，2拒绝")
    private Long auditStatus;

    /** 创建人（sys_user.id） */
    @Excel(name = "创建人", readConverterExp = "s=ys_user.id")
    private Long founderId;

    /** 学校审核人（sys_user.id） */
    @Excel(name = "学校审核人", readConverterExp = "s=ys_user.id")
    private Long schoolAuditorId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }

    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }

    public void setActivityScore(BigDecimal activityScore) 
    {
        this.activityScore = activityScore;
    }

    public BigDecimal getActivityScore() 
    {
        return activityScore;
    }

    public void setAuditStatus(Long auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public Long getAuditStatus() 
    {
        return auditStatus;
    }

    public void setFounderId(Long founderId) 
    {
        this.founderId = founderId;
    }

    public Long getFounderId() 
    {
        return founderId;
    }

    public void setSchoolAuditorId(Long schoolAuditorId) 
    {
        this.schoolAuditorId = schoolAuditorId;
    }

    public Long getSchoolAuditorId() 
    {
        return schoolAuditorId;
    }

    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("introduction", getIntroduction())
            .append("tags", getTags())
            .append("activityScore", getActivityScore())
            .append("auditStatus", getAuditStatus())
            .append("founderId", getFounderId())
            .append("schoolAuditorId", getSchoolAuditorId())
            .append("auditTime", getAuditTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
